package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 分类内容
 * </p>
 *
 * @author Mr.Xiayh
 * @since 2024-06-17
 */
@Getter
@Setter
@TableName("afone_category")
@ApiModel(value = "AfoneCategory对象", description = "分类内容")
public class AfoneCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("分类名字")
    private String name;

    @ApiModelProperty("关键词")
    private String keywords;

    @ApiModelProperty("描述")
    private String frontDesc;

    @ApiModelProperty("父节点")
    private Integer parentId;

    @ApiModelProperty("排序")
    private Byte sortOrder;

    @ApiModelProperty("首页展示")
    private Boolean showIndex;

    @ApiModelProperty("显示")
    private Byte isShow;

    @ApiModelProperty("banner图片")
    private String bannerUrl;

    @ApiModelProperty("icon链接")
    private String iconUrl;

    @ApiModelProperty("图片")
    private String imgUrl;

    @ApiModelProperty("手机banner")
    private String wapBannerUrl;

    @ApiModelProperty("级别")
    private String level;

    @ApiModelProperty("类型")
    private Integer type;

    @ApiModelProperty("前面的名字")
    private String frontName;

    private Boolean checked;

    private List<AfoneCategory> subCategoryList;
}
